import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class iCalTests{
  
  private iCalTestMethods i;

  public void setup(){
	i = new iCalTestMethods;
  }
  
  public void testValidMonth(){
	assertEquals(true, i.validMonth(“Jan”));
  }
  
  public void testInvalidMonth(){
	assertEquals(false, i.validMonth(“ZZ”));
  }

  public void testValidDate(){
	assertEquals(true, i.validDate(22));
  }

  public void testInvalidDate(){
	assertEquals(false, i.validDate(33));
  }

  public void testInStEndTime(){
	assertEquals(false, i.checkTime(20140702T120000,20140702T080000);
  }

  public void testStEndTime(){
	assertEquals(true, i.checkTime(20140702T080000, 20140702T120000);
  }
}